<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>
Bugzilla::Comment</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" title="style" type="text/css" href=".././../../../style.css" media="all" >

</head>
  <body id="pod">
<p class="backlinktop"><b><a name="___top" href="../index.html" accesskey="1" title="All Documents">&lt;&lt;</a></b></p>
<h1>Bugzilla::Comment</h1>
<div class='indexgroup'>
<ul   class='indexList indexList1'>
  <li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
  <li class='indexItem indexItem1'><a href='#SYNOPSIS'>SYNOPSIS</a>
  <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a>
  <ul   class='indexList indexList2'>
    <li class='indexItem indexItem2'><a href='#Accessors'>Accessors</a>
  </ul>
</ul>
</div>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>Bugzilla::Comment - A Comment for a given bug</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<pre  class="code"> use Bugzilla::Comment;

 my $comment = Bugzilla::Comment-&#62;new($comment_id);
 my $comments = Bugzilla::Comment-&#62;new_from_list($comment_ids);</pre>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>Bugzilla::Comment represents a comment attached to a bug.</p>

<p>This implements all standard <code  class="code">Bugzilla::Object</code> methods. See <a href="../Bugzilla/Object.html" class="podlinkpod"
>Bugzilla::Object</a> for more details.</p>

<h2><a class='u' href='#___top' title='click to go to top of document'
name="Accessors"
>Accessors</a></h2>

<dl>
<dt><a name="bug_id"
><code  class="code">bug_id</code></a></dt>

<dd>
<p><code  class="code">int</code> The ID of the bug to which the comment belongs.</p>

<dt><a name="creation_ts"
><code  class="code">creation_ts</code></a></dt>

<dd>
<p><code  class="code">string</code> The comment creation timestamp.</p>

<dt><a name="body"
><code  class="code">body</code></a></dt>

<dd>
<p><code  class="code">string</code> The body without any special additional text.</p>

<dt><a name="work_time"
><code  class="code">work_time</code></a></dt>

<dd>
<p><code  class="code">string</code> Time spent as related to this comment.</p>

<dt><a name="is_private"
><code  class="code">is_private</code></a></dt>

<dd>
<p><code  class="code">boolean</code> Comment is marked as private</p>

<dt><a name="already_wrapped"
><code  class="code">already_wrapped</code></a></dt>

<dd>
<p>If this comment is stored in the database word-wrapped, this will be <code  class="code">1</code>. <code  class="code">0</code> otherwise.</p>

<dt><a name="author"
><code  class="code">author</code></a></dt>

<dd>
<p><a href="../Bugzilla/User.html" class="podlinkpod"
>Bugzilla::User</a> who created the comment.</p>

<dt><a name="body_full"
><code  class="code">body_full</code></a></dt>

<dd>
<dl>
<dt><a name="Description"
><b>Description</b></a></dt>

<dd>
<p><code  class="code">string</code> Body of the comment, including any special text (such as &#34;this bug was marked as a duplicate of...&#34;).</p>

<dt><a name="Params"
><b>Params</b></a></dt>

<dd>
<dl>
<dt><a name="is_bugmail"
><code  class="code">is_bugmail</code></a></dt>

<dd>
<p><code  class="code">boolean</code>. <code  class="code">1</code> if this comment should be formatted specifically for bugmail.</p>

<dt><a name="wrap"
><code  class="code">wrap</code></a></dt>

<dd>
<p><code  class="code">boolean</code>. <code  class="code">1</code> if the comment should be returned word-wrapped.</p>
</dd>
</dl>

<dt><a name="Returns"
><b>Returns</b></a></dt>

<dd>
<p>A string, the full text of the comment as it would be displayed to an end-user.</p>
</dd>
</dl>
</dd>
</dl>
<p class="backlinkbottom"><b><a name="___bottom" href="../index.html" title="All Documents">&lt;&lt;</a></b></p>

<!-- end doc -->

</body></html>
